2005-10-03 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
* gdk-pixbuf-loader.c: Use a 1k buffer for sniffing image formats,
instead of 128 or 256 bytes. (#317225, Sebastien Bacher,
Dom Lachowicz)
+2005-10-03 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
+ * gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
+ * gdk-pixbuf-loader.c: Use a 1k buffer for sniffing image formats,
+ instead of 128 or 256 bytes. (#317225, Sebastien Bacher,
+ Dom Lachowicz)
+
2005-09-05 Matthias Clasen <mclasen@redhat.com>
* io-tga.c (parse_rle_data): Remove unused variable
GdkPixbufAnimation *animation;
int size;
FILE *f;
- guchar buffer [128];
+ guchar buffer [1024];
GdkPixbufModule *image_module;
gchar *display_name;
gboolean locked = FALSE;
GdkPixbuf *pixbuf;
int size;
FILE *f;
- guchar buffer[256];
+ guchar buffer[1024];
GdkPixbufModule *image_module;
gchar *display_name;
/* Internal data */
-#define LOADER_HEADER_SIZE 128
+#define LOADER_HEADER_SIZE 1024
typedef struct
{